import React from 'react'

// 房态列表
export async function apiGetData(params) {
    return await React.$post('/management/hotelHomeStatus/roomStatusList', params);
}
// 房态服务列表
export async function apiGetServiceData(params) {
    return await React.$post('/management/storeService/infoPage', params);
}
// 房间的状态修改
export async function apiPutRoomStatus(params) {
    return await React.$put('/management/hotelHomeStatus', params);
}
// 房态入住信息
export async function apiGetCheckInData(params) {
    return await React.$post('/management/hotelOrderInfo/viewByQrCode', params);
}
// 确认核销
export async function apiConfirmWriteOff(params) {
    return await React.$post('/management/hotelOrderInfo/confirmWriteOff', params);
}
// 入住配置详情
export async function apiConfigOccupancy(params) {
    return await React.$get('/management/configOccupancy/getConfigOccupancy', params);
}
// 入住配置修改
export async function apiEditConfigOccupancy(params) {
    return await React.$put('/management/configOccupancy', params);
}
